
  <h1>MYCMF安装环境测试</h1>
  <div class="content">
    <div class="title">系统所需功能支持检测</div>
    <div class="list">
      <div class="name">图像处理：</div>
      <div class="value"> <span id="image">
      <?php
      	$is_error = 0; 
      	if(function_exists("imageline")):
      	
      ?>
      <font color=green><b>√</b></font>
      <?php else:
      	$is_error++;
      ?>
      <font color=green><b>×</b></font>
      <?php endif;?>
      </span> </div>
    </div>
    <div class="title">系统所需目录权限</div>
    
    <?php foreach ($this->path as $k=>$v):?>
    <div class="list">
    	<div class="name"><?php echo $k; ?></div>
    	<?php if($v > 11):?>
    	<div class="value"><font color=green><b>√</b></font></div>
    	<?php else:
    		$is_error++;
    	?>
    	<div class="value"><font color=red><b>x</b></font></div>
    	<?php endif;?>
    	   </div>
    <?php endforeach;?>
 
  </div>
  <?php if(!$is_error):?>
  <div class="menu">
    <button type="button" class="submit" onclick="window.location.href='<?php echo $this->url("index/config");?>'">准备完毕进入安装</button>
  </div>
  <?php endif;?>
